<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title>首页 - 光年(Light Year Admin)后台管理系统模板</title>
    <link rel="icon" href="Ly-admin-Iframe/favicon.ico" type="image/ico">
    <link href="Ly-admin-Iframe/css/bootstrap.min.css" rel="stylesheet">
    <link href="Ly-admin-Iframe/css/materialdesignicons.min.css" rel="stylesheet">
    <link href="Ly-admin-Iframe/css/style.min.css" rel="stylesheet">
    <script>
        if (document.referrer === ''){
            location='/admin';
        }
    </script>
</head>
<body>
<div class="container-fluid p-t-15">

    <div class="row">
        <div class="col-sm-6 col-md-4">
            <div class="card bg-dark">
                <div class="card-body clearfix">
                    <div class="pull-right">
                        <p class="h6 text-white m-t-0">管理员总数</p>
                        <p class="h3 text-white m-b-0 fa-1-5x" th:text="${adminNum}"></p>
                    </div>
                    <div class="pull-left"> <span class="img-avatar img-avatar-48 bg-translucent"><i class="mdi mdi-account-settings-variant fa-1-5x"></i></span> </div>
                </div>
            </div>
        </div>
        <div class="col-sm-6 col-md-4">
            <div class="card bg-danger">
                <div class="card-body clearfix">
                    <div class="pull-right">
                        <p class="h6 text-white m-t-0">用户总数</p>
                        <p class="h3 text-white m-b-0 fa-1-5x" th:text="${userNum}"></p>
                    </div>
                    <div class="pull-left"> <span class="img-avatar img-avatar-48 bg-translucent"><i class="mdi mdi-account-multiple fa-1-5x"></i></span> </div>
                </div>
            </div>
        </div>

        <div class="col-sm-6 col-md-4">
            <div class="card bg-success">
                <div class="card-body clearfix">
                    <div class="pull-right">
                        <p class="h6 text-white m-t-0">用户地区分布数</p>
                        <p class="h3 text-white m-b-0 fa-1-5x" th:text="${userAddressNum}"></p>
                    </div>
                    <div class="pull-left"> <span class="img-avatar img-avatar-48 bg-translucent"><i class="mdi mdi-map-marker fa-1-5x"></i></span> </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="Ly-admin-Iframe/js/jquery.min.js"></script>
<script type="text/javascript" src="Ly-admin-Iframe/js/bootstrap.min.js"></script>
<script type="text/javascript" src="Ly-admin-Iframe/js/main.min.js"></script>

<!--图表插件-->
<script type="text/javascript" src="Ly-admin-Iframe/js/Chart.js"></script>
</body>
</html>